%%%-------------------------------------------------------------------
%%% @author mirahs(2892727493@qq.com)
%%% @doc
%%%     角色事件定义
%%% @end
%%%-------------------------------------------------------------------
-module(role_event_handler).

-export([
    get/1
]).

-include("event.hrl").


get(?event_role_load) ->
    [
        {role_misc, load, []}
    ];

get(?event_role_login) ->
    [
        {role_offline_async, login, []}
        ,{role_misc, login, []}

        ,{role_misc, login_push, []}
    ];

get(?event_role_logout) ->
    [
        {role_misc, logout, []}
        ,{role_online_mgr, logout, []}
    ];

get(?event_role_newday) ->
    [
        {role_misc, newday, []}
    ];

get(_Event) ->
    [].
